package com.vo;

/**
 * Created by 阳幸子 on 2018/5/8.
 */
public class CourseVo {
//    @NotEmpty(message="用户名不能为空")
//    @Size(min=2, max=30,message = "名字在2--30个字之间")
    public String courseName;

    public long courseTypeId;

    public String courseDesc;

    public long coachId;

//    @Past(message = "开始日期必须在结束日期前")

    public String startTime;

//    @Future(message = "结束日期必须在开始日期后")

    public String endTime;
    public String photo;

    public String getPhoto() {
        return photo;
    }

    public CourseVo setPhoto(String photo) {
        this.photo = photo;
        return this;
    }

    public long getCoachId() {
        return coachId;
    }

    public CourseVo setCoachId(long coachId) {
        this.coachId = coachId;
        return this;
    }

    public String getCourseDesc() {
        return courseDesc;
    }

    public CourseVo setCourseDesc(String courseDesc) {
        this.courseDesc = courseDesc;
        return this;
    }

    public String getCourseName() {
        return courseName;
    }

    public CourseVo setCourseName(String courseName) {
        this.courseName = courseName;
        return this;
    }

    public long getCourseTypeId() {
        return courseTypeId;
    }

    public CourseVo setCourseTypeId(long courseTypeId) {
        this.courseTypeId = courseTypeId;
        return this;
    }

    public String getEndTime() {
        return endTime;
    }

    @Override
    public String toString() {
        return "CourseVo{" +
                "coachId=" + coachId +
                ", courseName='" + courseName + '\'' +
                ", courseTypeId=" + courseTypeId +
                ", courseDesc='" + courseDesc + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                '}';
    }

    public CourseVo setEndTime(String endTime) {
        this.endTime = endTime;
        return this;
    }

    public String getStartTime() {
        return startTime;
    }

    public CourseVo setStartTime(String startTime) {
        this.startTime = startTime;
        return this;
    }
}
